package com.huosu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangjian
 * @since 2019-12-13
 */
@Data
@ApiModel(value = "矿机异常记录", description = "矿机异常记录")
public class AbnormalRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "币种")
    private String coin;

    @ApiModelProperty(value = "状态")
    private String healthyState;

    @ApiModelProperty(value = "异常地址")
    private String virusAddr;

    @ApiModelProperty(value = "异常子账号")
    private String virusMiner;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "最后更新时间")
    private String lastTime;

    @ApiModelProperty(value = "保持时间（秒）")
    private int keepMins;

    @ApiModelProperty(value = "保持时间（文字）")
    private String keepTimeText;

    @ApiModelProperty(value = "0异常插入,1正常更新")
    private int state;
}
